home *** CD-ROM | disk | FTP | other *** search
/ PC Player 2004 May / pc player 2004-05.iso / Demos / FarCry / Data1.cab / _5BF2AEF1FC304FD29C3C14EFB50DEC63 < prev    next >
Encoding:
Text File  |  2004-01-06  |  2.5 KB  |  93 lines

  1. -- MutantRear Character SCRIPT
  2.  
  3. AICharacter.MutantRear = {
  4.  
  5.     UnderFire = {
  6.         OnPlayerSeen    = "MutantRearIdle",
  7.         OnThreateningSoundHeard = "MutantRearIdle",
  8.         OnGrenadeSeen        = "MutantRearAttack",
  9.     },
  10.  
  11.     MutantRearIdle = {
  12.         -- ON_ENEMY_TOOCLOSE    = "MutantRearScramble",
  13.         -- ON_ENEMY_TARGET    = "MutantRearAttack",
  14.         OnPlayerSeen         = "MutantRearAttack",
  15.         OnInterestingSoundHeard = "MutantRearInterested",
  16.         OnThreateningSoundHeard = "MutantRearThreatened",
  17.         OnReceivingDamage    = "MutantRearAlert",
  18.         OnGrenadeSeen        = "MutantRearAlert",
  19.         OnBulletRain        = "MutantRearAlert",
  20.         HEADS_UP_GUYS        = "MutantRearAlert",
  21.         INCOMING_FIRE        = "MutantRearAlert",
  22.         
  23.         TakePiss            = "Idle_TakePiss",
  24.         Smoking            = "Idle_Smoking",
  25.         BackToJob        = "FIRST",
  26.         
  27.         CheckApparatus        = "Job_CheckApparatus",
  28.         PushButton        ="Job_PushButtons",
  29.         PullLever            ="Job_PullLever",
  30.                 
  31.         -- idles
  32.         LookWall            ="Idle_StandLook",
  33.         SitDown            = "Idle_SitDown",
  34.         -----------------------------------------
  35.     },
  36.  
  37.     MutantRearAlert = {
  38.         OnPlayerSeen         = "MutantRearAttack",
  39.         OnInterestingSoundHeard = "MutantRearThreatened",
  40.         OnThreateningSoundHeard = "MutantRearThreatened",
  41.         back_to            = "FIRST",
  42.         -----------------------------------------
  43.     },
  44.     
  45.     MutantRearInterested = {
  46.         OnPlayerSeen         = "MutantRearAttack",
  47.         OnGrenadeSeen        = "MutantRearThreatened",
  48.         OnThreateningSoundHeard = "MutantRearThreatened",
  49.         OnGroupMemberDied    = "MutantRearThreatened",
  50.         OnGroupMemberDiedNearest= "MutantRearThreatened",
  51.         OnReceivingDamage    = "MutantRearThreatened",
  52.         OnBulletRain        = "MutantRearThreatened",
  53.         HEADS_UP_GUYS        = "MutantRearThreatened",
  54.         INCOMING_FIRE        = "MutantRearThreatened",
  55.         back_to            = "FIRST",
  56.         -----------------------------------------
  57.     },
  58.     
  59.     MutantRearThreatened = {
  60.         OnPlayerSeen         = "MutantRearAttack",
  61.         back_to            = "FIRST",
  62.         -----------------------------------------
  63.     },
  64.  
  65.     MutantRearScramble = {
  66.         REAR_NORMALATTACK     = "MutantRearAttack",
  67.         OnGrenadeSeen        = "MutantRearAttack",
  68.     },
  69.  
  70.     MutantRearAttack = {
  71.     --    OnReceivingDamage = "MutantRearScramble",
  72.     --    OnEnemyMemory      = "MutantRearScramble",
  73.     --    GO_REFRACTIVE      = "MutantRearInvisible",
  74.     },
  75.  
  76.     MutantRearInvisible = {
  77.         GO_VISIBLE      = "MutantRearAttack",
  78.         OnReceivingDamage = "MutantRearAttack",
  79.     },
  80.     ChasePath = {
  81.         PathDone            = "MutantRearIdle",
  82.     },
  83.     ChasePathOnSeen = {
  84.         PathDone            = "MutantRearIdle",
  85.     },
  86.     RunPath = {
  87.         PathDone            = "MutantRearIdle",
  88.     },
  89.     UseFlyingFox = {
  90.         PathDone            = "MutantRearIdle",
  91.     },
  92.     
  93. }